package com.cnap.multiclouldmgmt.model.dockerHarborModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author dyq
 * harbor 操作model
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.dockerHarborModel.DestRegistryModel",description = "注册的仓库的信息")
public class DestRegistryModel {

    //credential
    @ApiModelProperty(value = "credential")
    private int id;

    //name
    @ApiModelProperty(value = "name")
    private String name;

    //description
    @ApiModelProperty(value = "description")
    private String description;

    //type
    @ApiModelProperty(value = "type")
    private String type;

    //url
    @ApiModelProperty(value = "url")
    private String url;

    //token_service_url
    @ApiModelProperty(value = "token_service_url")
    private String token_service_url;

    //credential
    @ApiModelProperty(value = "credential")
    private CredentialModel credential;

    //insecure true 表示不用校验https证书
    @ApiModelProperty(value = "insecure")
    private boolean insecure = true;

    //status
    @ApiModelProperty(value = "status")
    private String status;

    //creation_time
    @ApiModelProperty(value = "creation_time")
    private String creation_time;

    //update_time
    @ApiModelProperty(value = "update_time")
    private String update_time;

    /**
     * get
     *
     * @return Id
     */
    public int getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return Name
     */
    public String getName() {
        return name;
    }

    /**
     * set
     *
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * get
     *
     * @return Description
     */
    public String getDescription() {
        return description;
    }

    /**
     * set
     *
     * @param description description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * set
     *
     * @param type type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * get
     *
     * @return Url
     */
    public String getUrl() {
        return url;
    }

    /**
     * set
     *
     * @param url url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * get
     *
     * @return Token_service_url
     */
    public String getToken_service_url() {
        return token_service_url;
    }

    /**
     * set
     *
     * @param token_service_url token_service_url
     */
    public void setToken_service_url(String token_service_url) {
        this.token_service_url = token_service_url;
    }

    /**
     * get
     *
     * @return Credential
     */
    public CredentialModel getCredential() {
        return credential;
    }

    /**
     * set
     *
     * @param credential credential
     */
    public void setCredential(CredentialModel credential) {
        this.credential = credential;
    }

    /**
     * get
     *
     * @return Insecure
     */
    public boolean isInsecure() {
        return insecure;
    }

    /**
     * set
     *
     * @param insecure insecure
     */
    public void setInsecure(boolean insecure) {
        this.insecure = insecure;
    }

    /**
     * get
     *
     * @return Status
     */
    public String getStatus() {
        return status;
    }

    /**
     * set
     *
     * @param status status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * get
     *
     * @return Creation_time
     */
    public String getCreation_time() {
        return creation_time;
    }

    /**
     * set
     *
     * @param creation_time creation_time
     */
    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }

    /**
     * get
     *
     * @return Update_time
     */
    public String getUpdate_time() {
        return update_time;
    }

    /**
     * set
     *
     * @param update_time update_time
     */
    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
